<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/common/include.jsp"%>
<input type="hidden" name="updReport" value="true" id="updReport"/>
<table width="100%" cellspacing="0" >
  <tr >
	    <td class="td_title" width="40"><span onClick="xjCommon.checkAll('reportId');">全选</span></td>
		<td class="td_title" width="180">模板编号</td>
		<td class="td_title" width="260">模板名称</td>
		<td class="td_title" width="180">所属模块</td>
		<td class="td_title" width="180">模板类型</td>
		<td class="td_title" width="180">报表级别</td>
		<td class="td_title">描述</td>
    </tr>
    <c:forEach items="${datalist}" var="obj" >
        <tr>
	        <td><w:checkbox name="reportId" value="${obj.reportId}" serverValue="${userReports}"></w:checkbox> </td>
			<td class="left_align">${obj.reportId}</td>
			<td class="left_align">${obj.reportName}</td>
			<td class="left_align">${obj.belongTable}</td>
			<td class="left_align">
				<c:choose>
					<c:when test="${obj.reportType eq 'jxl'}">excel报表</c:when>
		   			<c:when test="${obj.reportType eq 'jxls'}">excel模板型报表</c:when>
		   			<c:when test="${obj.reportType eq 'jasperReport'}">jasperReport报表</c:when>
				</c:choose>
			</td>
			<td class="left_align">${obj.shareType}</td>
			<td class="left_align">${obj.reportNote}</td>
        </tr>
    </c:forEach>
</table>